package com.dk.service;

import com.dk.pojo.TabRoute;
import com.dk.pojo.TabRouteVO;
import com.github.pagehelper.PageInfo;

public interface TravelRouteService {
    PageInfo<TabRouteVO> getInfo(TabRouteVO tabRoute, Integer pageNum, Integer pageSize);

    int insertInfo(String[] bigPic, TabRoute tabRoute);

    int updateRoute(String[] bigPic, TabRoute tabRoute);

    TabRoute getInfoById(Integer id);

    int deleteRouteById(Integer id);

    PageInfo<TabRouteVO> getInfoNotReviewed(TabRouteVO tabRoute, Integer pageNumber, Integer pageSize);

    int updateToPass(Integer id);

    int updateToTurnDown(Integer id);

    int updateReUpload(Integer id);
}
